﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FFS.Model;

namespace FFS.IDAL
{
    public interface ILoginUserDAO
    {
        List<LoginUserInfo> GetAllLoginUser();

        List<LoginUserInfo> GetLoginUserByLoginNo(string loginUserNo);

        List<LoginUserInfo> GetLoginUserByLoginName(string loginUserName);

        List<LoginUserInfo> GetLoginUserBySearchCondition(string searchCondition);

        List<LoginUserInfo> GetLoginUserByIsLocked(bool loginIsLocked);

        int CreateLoginUser(LoginUserInfo sluf);

        int ModifyLoginUser(LoginUserInfo sluf);

        int ModifyLoginUserPassword(LoginUserInfo sluf);

        int DeleteLoginUser(LoginUserInfo sluf);

        bool IsExistsLoginUser(string loginUserNo);

        int IsLockedLoginUser(string loginUserNo,bool isLocked,string input_user);

        bool VerifyLogin(string loginUserName, string LoginPassword);
    }
}
